﻿using System;
using System.Collections.Generic;

namespace Iptv.MediaReporter.Model
{
    /// <summary>
    /// 海报数据上报对象
    /// </summary>
    internal class ReportPictureData : ReportBaseModel
    {
        public List<MediaPicture> dataList { get; set; }
    }

    /// <summary>
    /// 海报数据
    /// </summary>
    internal class MediaPicture
    {
        // <summary>
        /// 建档编号
        /// </summary>
        public string guid { get; set; }
        /// <summary>
        /// 上报时间
        /// </summary>
        public string posterDateTime { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
        /// <summary>
        /// 海报文件16进制字符
        /// </summary>
        public string posterFile { get; set; }
        /// <summary>
        /// 海报资源地址(原始海报地址)
        /// </summary>
        public string sourcePosterUrl { get; set; } = "ftp://172.25.8.180:21/m3u8/Picture/202501/05/0602425m601730410.jpg";
    }
}
